﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditHospital.aspx.cs" Inherits="RegisterWeb.Manager.HospitalManager.EditHospital" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <title></title>
    <script src="../../js/jquery-easyui-1.2.6/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../../js/jquery.MultiFile.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.2.6/jquery.blockUI.js" type="text/javascript"></script>
    <script type="text/javascript">
       $(function () {
            $('#Hospital_Logo').MultiFile({
                accept: 'gif|jpg', max: 3, STRING: {
                    remove: 'Remover',
                    selected: 'Selecionado: $file',
                    denied: 'Invalido arquivo de tipo $ext!',
                    duplicate: 'Arquivo ja selecionado:\n$file!'
                }
            });
          
        });
    </script>
</head>
<body>
     <form id="edit"  method="post">
    <div class="ftitle">更新医院信息</div>
         <div class="fitem">
    <label>医院名称：</label>
    <input type="text" name="Hospital_Name" id="Hospital_Name"  validType="length[0,30]" class="easyui-validatebox" required="true"  />
    
          <label>等级:</label>
     <select id="Hospital_Level" name="Hospital_Level"  required="true" style="width:150px;">
     </select>
     <script type="text/javascript">

         $('#Hospital_Level').combobox({
             url: 'ashx/HospitalHandler.ashx?action=level',
             valueField: 'SystemParameter_ID',
             textField: 'SystemParameter_Name',
             panelHeight: "auto"
         });
             
        </script>
         </div>
   <div class="fitem">
          <label>性质:</label>
     <select id="Hospital_Nature" name="Hospital_Nature"  required="true" style="width:150px;">
     </select>
     <script type="text/javascript">

         $('#Hospital_Nature').combobox({
             url: 'ashx/HospitalHandler.ashx?action=nature',
             valueField: 'SystemParameter_ID',
             textField: 'SystemParameter_Name',
             panelHeight: "auto"
         });
             
        </script>
         
          <label>类别:</label>
     <select id="Hospital_Type" name="Hospital_Type"  required="true" style="width:150px;">
     </select>
     <script type="text/javascript">

         $('#Hospital_Type').combobox({
             url: 'ashx/HospitalHandler.ashx?action=type',
             valueField: 'SystemParameter_ID',
             textField: 'SystemParameter_Name',
             panelHeight: "auto"
         });
             
        </script>
         </div>
         <div class="fitem">
    <label>地址：</label>
    <input type="text" name="Hospital_Address" id="Hospital_Address" required="true"  validType="length[0,100]" class="easyui-validatebox"  />
    
    <label>联系电话：</label>
    <input type="text" name="Hospital_Phone" id="Hospital_Phone"  validType="length[0,20]"  class="easyui-validatebox"  />
    </div>
     <div class="fitem">
    <label>网址：</label>
    <input type="text" name="Hospital_Website" id="Hospital_Website" class="easyui-validatebox"  validType="url"   onfocus="warn()" onblur="hide()" /><span class="error" id="warn"></span>
    </div>
       <div class="fitem">
    <label>医院介绍：</label>
    <textarea name="Hospital_Introduce" style="font-size:small" id="Hospital_Introduce" class="easyui-validatebox" required="true" cols="48" rows="3"></textarea>
    </div>

    <div class="fitem">
    <label>更新图片：</label>
     <input type="file" id="Hospital_Logo"  name="Hospital_Logo" />  
    </div>
       <div class="fitem">
    <label>更新者：</label>
    <input type="text" name="Hospital_LastAmendPerson" id="Hospital_LastAmendPerson" class="easyui-validatebox" required="true"  />
    </div>
    <input type="text" id="hidden" name="hidden" style="display:none"  />
    </form>
</body>
</html>
